package com.itheima.branch;

public class IfDemo1 {
    public static void main(String[] args) {
        //if分支三种形式和执行流程
        int score = 85;
        if(score > 60){
            System.out.println("及格");
        }else{
            System.out.println("不及格");
        }

        if(score > 60){
            System.out.println("及格");
        }else if(score > 90){
            System.out.println("优秀");
        }
        else{
            System.out.println("不及格");
        }
    }

}
